/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.encapsulation.services.internal;

import za.ac.cput.encapsulation.model.Rolex;
import za.ac.cput.encapsulation.services.Watch;

/**
 *
 * @author Abduraghmaan
 */
public class DigitalWatch implements Watch {

    @Override
    public String displayTime(Rolex rolex) 
    {
        return rolex.getHours()+ ":" + rolex.getMinutes() + ":" + rolex.getSeconds();
        
    }
    
}
